package com.th.supcom.pds.domain.pojo;

import net.carefx.framework.translate.Translatable;
import net.carefx.framework.translate.annotation.TranslateField;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * PhamWindowConfig Pojo对象.
 * 
 * 药房窗口属性列表.
 */
public class PhamWindowConfig implements java.io.Serializable, Translatable
{
    private static final long serialVersionUID = 1L;

    /** 主键. */
    private Long m_phamWindowConfigId;

    /** 窗口IP. */
    private String m_windowIp;

    /** 窗口名称. */
    private String m_windowName;

    /** 所属药房. */
    @TranslateField (translatorName = "organizationTranslator", targetFieldName = "m_deptName")
    private String m_deptCode;
    private String m_deptName;

    /**
     * 窗口服务类型 收方=‘A’ 人工摆药=‘B’ 机器摆药=‘C’ .
     */
    @TranslateField (fullQualifiedName = "PDS0021", targetFieldName = "m_serviceName")
    private String m_serviceType;
    private String m_serviceName;
    /** 窗口处方类型 */
    @TranslateField (fullQualifiedName = "TJ0057", targetFieldName = "m_prescTypeName")
    private Integer m_prescType;
    private String m_prescTypeName;
    /** 核对发药设置. */
    @TranslateField (fullQualifiedName = "PDS0017", targetFieldName = "m_checkName")
    private Integer m_checkFlag;
    private String m_checkName;
    /**
     * 窗口开放标志 开放=1，不开放=0.
     */
    private Integer m_openFlag;

    /** 消费凭条打印机. */
    private String m_slipPrinter;

    /** 摆药清单打印机. */
    private String m_dispensePrinter;
    /** 未摆药清单打印打印机. */
    private String m_notDispensePrinter;
    /** 退费申请单打印打印机. */
    private String m_refundApplyPrinter;
    /** 退药单打印打印机. */
    private String m_withdrawlPrinter;
    private String m_deptPinyinCode;

    /**
     * 默认构造器 .
     */
    public PhamWindowConfig ()
    {
    }

    public String getDeptPinyinCode ()
    {

        return m_deptPinyinCode;
    }

    public void setDeptPinyinCode (String deptPinyinCode)
    {

        m_deptPinyinCode = deptPinyinCode;
    }

    /**
     * 获取主键属性.
     * 
     */
    public Long getPhamWindowConfigId ()
    {
        return m_phamWindowConfigId;
    }

    /**
     * 设置主键属性.
     * 
     * @param phamWindowConfigId.
     */
    public void setPhamWindowConfigId (Long phamWindowConfigId)
    {
        m_phamWindowConfigId = phamWindowConfigId;
    }

    public Integer getPrescType ()
    {

        return m_prescType;
    }

    public void setPrescType (Integer prescType)
    {

        m_prescType = prescType;
    }

    public String getPrescTypeName ()
    {

        return m_prescTypeName;
    }

    public void setPrescTypeName (String prescTypeName)
    {

        m_prescTypeName = prescTypeName;
    }

    /**
     * 获取窗口IP属性.
     * 
     */
    public String getWindowIp ()
    {
        return m_windowIp;
    }

    /**
     * 设置窗口IP属性.
     * 
     * @param windowIp.
     */
    public void setWindowIp (String windowIp)
    {
        m_windowIp = windowIp;
    }

    /**
     * 获取窗口名称属性.
     * 
     */
    public String getWindowName ()
    {
        return m_windowName;
    }

    /**
     * 设置窗口名称属性.
     * 
     * @param windowName.
     */
    public void setWindowName (String windowName)
    {
        m_windowName = windowName;
    }

    /**
     * 获取所属药房属性.
     * 
     */
    public String getDeptCode ()
    {
        return m_deptCode;
    }

    /**
     * 设置所属药房属性.
     * 
     * @param deptCode.
     */
    public void setDeptCode (String deptCode)
    {
        m_deptCode = deptCode;
    }

    /**
     * 获取窗口服务类型 收方=‘A’ 人工摆药=‘B’ 机器摆药=‘C’ 属性.
     * 
     */
    public String getServiceType ()
    {
        return m_serviceType;
    }

    /**
     * 设置窗口服务类型 收方=‘A’ 人工摆药=‘B’ 机器摆药=‘C’ 属性.
     * 
     * @param serviceType.
     */
    public void setServiceType (String serviceType)
    {
        m_serviceType = serviceType;
    }

    /**
     * 获取核对发药设置属性.
     * 
     */
    public Integer getCheckFlag ()
    {
        return m_checkFlag;
    }

    /**
     * 设置核对发药设置属性.
     * 
     * @param checkFlag.
     */
    public void setCheckFlag (Integer checkFlag)
    {
        m_checkFlag = checkFlag;
    }

    /**
     * 获取窗口开放标志 开放=1，不开放=0属性.
     * 
     */
    public Integer getOpenFlag ()
    {
        return m_openFlag;
    }

    /**
     * 设置窗口开放标志 开放=1，不开放=0属性.
     * 
     * @param openFlag.
     */
    public void setOpenFlag (Integer openFlag)
    {
        m_openFlag = openFlag;
    }
    public String getDeptName ()
    {

        return m_deptName;
    }

    public void setDeptName (String deptName)
    {

        m_deptName = deptName;
    }

    public String getServiceName ()
    {

        return m_serviceName;
    }

    public void setServiceName (String serviceName)
    {

        m_serviceName = serviceName;
    }

    public String getCheckName ()
    {

        return m_checkName;
    }

    public void setCheckName (String checkName)
    {

        m_checkName = checkName;
    }

    /**
     * 打印字符串.
     * 
     * @return 打印.
     */
    public String toString ()
    {
        StringBuffer sb = new StringBuffer (100);
        sb.append ("---------------------------------- start ----------------------------------");
        sb.append ("phamWindowConfigId:" + m_phamWindowConfigId + " windowIp:" + m_windowIp + " windowName:" + m_windowName);
        sb.append ("deptCode:" + m_deptCode + " serviceType:" + m_serviceType + " checkFlag:" + m_checkFlag);
        sb.append ("openFlag:" + m_openFlag + " slipPrinter:" + m_slipPrinter + " dispensePrinter:" + m_dispensePrinter);
        sb.append ("notDispensePrinter:" + m_notDispensePrinter + " refundApplyPrinter:" + m_refundApplyPrinter + " withdrawlPrinter:" + m_withdrawlPrinter);

        sb.append ("----------------------------------  end  ----------------------------------");
        return sb.toString ();
    }

    public String getSlipPrinter ()
    {
    
        return m_slipPrinter;
    }

    public void setSlipPrinter (String slipPrinter)
    {
    
        m_slipPrinter = slipPrinter;
    }

    public String getDispensePrinter ()
    {
    
        return m_dispensePrinter;
    }

    public void setDispensePrinter (String dispensePrinter)
    {
    
        m_dispensePrinter = dispensePrinter;
    }

    public String getNotDispensePrinter ()
    {
    
        return m_notDispensePrinter;
    }

    public void setNotDispensePrinter (String notDispensePrinter)
    {
    
        m_notDispensePrinter = notDispensePrinter;
    }

    public String getRefundApplyPrinter ()
    {
    
        return m_refundApplyPrinter;
    }

    public void setRefundApplyPrinter (String refundApplyPrinter)
    {
    
        m_refundApplyPrinter = refundApplyPrinter;
    }

    public String getWithdrawlPrinter ()
    {
    
        return m_withdrawlPrinter;
    }

    public void setWithdrawlPrinter (String withdrawlPrinter)
    {
    
        m_withdrawlPrinter = withdrawlPrinter;
    }

    /** 日志记录器. */
    public static final Logger s_logger = LoggerFactory.getLogger (PhamWindowConfig.class);

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}